using System;

namespace Sedna.Core.Messaging
{
	public class SimpleMessage : IMessage
	{
		private IEndPoint source;
		private IEndPoint destination;
		private object payload;

		public IEndPoint Source
		{
			get { return source; }
			set { source = value; }
		}

		public IEndPoint Destination
		{
			get { return destination; }
			set { destination = value; }
		}

		public object Payload
		{
			get { return payload; }
			set { payload = value; }
		}

	}
}
